function backtomain() {  
    window.location.href = "main.html"; // 替换为你要跳转的页面URL  
}